package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfAppVersionDao;
import com.wfcm.entity.WfAppVersionEntity;
import com.wfcm.service.WfAppVersionService;



@Service("wfAppVersionService")
public class WfAppVersionServiceImpl implements WfAppVersionService {
	@Autowired
	private WfAppVersionDao wfAppVersionDao;
	
	@Override
	public WfAppVersionEntity queryObject(Integer id){
		return wfAppVersionDao.queryObject(id);
	}
	
	@Override
	public List<WfAppVersionEntity> queryList(Map<String, Object> map){
		return wfAppVersionDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfAppVersionDao.queryTotal(map);
	}
	
	@Override
	public void save(WfAppVersionEntity wfAppVersion){
		wfAppVersionDao.save(wfAppVersion);
	}
	
	@Override
	public void update(WfAppVersionEntity wfAppVersion){
		wfAppVersionDao.update(wfAppVersion);
	}
	
	@Override
	public void delete(Integer id){
		wfAppVersionDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfAppVersionDao.deleteBatch(ids);
	}
	
}
